package com.zhenyi.zhengfang.config;

import com.jfinal.config.Routes;
import com.zhenyi.zhengfang.miniapp.AuthController;
import com.zhenyi.zhengfang.miniapp.CommentController;

public class ZFRoutes extends Routes {

	@Override
	public void config() {
		add("/zf/admin/user", com.zhenyi.zhengfang.admin.index.UserController.class);
		add("/zf/admin/comment", com.zhenyi.zhengfang.admin.index.CommentController.class);
		add("/zf/admin/auth", com.zhenyi.zhengfang.admin.index.AuthController.class);
		
		add("/zf/comment", CommentController.class);
		add("/zf/auth", AuthController.class);
	}

}
